import 'package:flutter/services.dart';
import 'package:eason_nebula/ui/Base/EasonBasePage.dart';
import 'package:flutter/material.dart';

class FromNativePage extends EasonBasePage {
  const FromNativePage({Key? key}) : super(key: key);

  @override
  String get title => 'FromNativePage';

  @override
  State<FromNativePage> createState() => _FromNativePageState();
}

class _FromNativePageState extends BasePageState<FromNativePage> {

  @override
/*************  ✨ Windsurf Command ⭐  *************/
/// Builds the main content of the FromNativePage.
///
/// This method returns a centered text widget displaying
/// 'FromNativePage Content' with a font size of 24 and blue color.
///
/// The [context] parameter provides information about the location
/// in the widget tree in which this widget is being built.

/*******  6cdff81a-279b-43ea-b9e4-a5bbe60da9f0  *******/
  Widget buildContent(BuildContext context) {
    return Center(
      child: Column(
        mainAxisSize: MainAxisSize.min,
        children: [
          Text(
            'FromNativePage Content',
            style: TextStyle(fontSize: 24, color: Colors.blue),
          ),
          const SizedBox(height: 24),
          ElevatedButton(
            onPressed: () {
              SystemNavigator.pop();
            },
            child: const Text('返回原生页面'),
          ),
        ],
      ),
    );
  }
}